package com.longdaji.decoration.ui.register;

import com.longdaji.decoration.base.BasePresenter;
import com.longdaji.decoration.base.BaseView;

/**
 * Created by Kanade on 2018/3/12 0012.
 */

public interface RegisterContract {
    interface IView extends BaseView {
        void showTelephoneVerifyFailed();

        void showSendVerification();

//        void showRegisterSuccess();

        void showStepTwo();

        void showIllegalTelephone();

        void calculateTime();

        void showHidePassword(boolean isHidePassword);

        void showCodeError();

    }

    interface IPresenter extends BasePresenter<IView> {
        void onGetVerificationCodeClick(String telephone);


        void onConfirmClick(String telephone, String password, String verificationCode);

        void onHidePasswordClick(boolean isPasswordHidden);

    }
}
